package com.entity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
 

/**
 * 接收传参的实体类  
 *（实际开发中配合接口开发手动去掉些没用的字段， 后端一般用entity就够用了）
 * 取自ModelAndView 的model名称
 */
public class ShangpinxinxiModel  implements Serializable {
	private static final long serialVersionUID = 1L;

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

              
	    private String shangpinmingcheng;
	    public void setShangpinmingcheng(String shangpinmingcheng) {
		    this.shangpinmingcheng = shangpinmingcheng;
	    }
	    public String getShangpinmingcheng() {
		    return shangpinmingcheng;
	    }
        
	    private String shangpinleixing;
	    public void setShangpinleixing(String shangpinleixing) {
		    this.shangpinleixing = shangpinleixing;
	    }
	    public String getShangpinleixing() {
		    return shangpinleixing;
	    }
        
	    private String shangpinpinpai;
	    public void setShangpinpinpai(String shangpinpinpai) {
		    this.shangpinpinpai = shangpinpinpai;
	    }
	    public String getShangpinpinpai() {
		    return shangpinpinpai;
	    }
        
	    private String tupian;
	    public void setTupian(String tupian) {
		    this.tupian = tupian;
	    }
	    public String getTupian() {
		    return tupian;
	    }
        
	    private String shangpinfengge;
	    public void setShangpinfengge(String shangpinfengge) {
		    this.shangpinfengge = shangpinfengge;
	    }
	    public String getShangpinfengge() {
		    return shangpinfengge;
	    }
        
	    private String guige;
	    public void setGuige(String guige) {
		    this.guige = guige;
	    }
	    public String getGuige() {
		    return guige;
	    }
        
	    private String zhongliang;
	    public void setZhongliang(String zhongliang) {
		    this.zhongliang = zhongliang;
	    }
	    public String getZhongliang() {
		    return zhongliang;
	    }
        
	    private String shangpinxiangqing;
	    public void setShangpinxiangqing(String shangpinxiangqing) {
		    this.shangpinxiangqing = shangpinxiangqing;
	    }
	    public String getShangpinxiangqing() {
		    return shangpinxiangqing;
	    }
        
	    private String shangjiazhanghao;
	    public void setShangjiazhanghao(String shangjiazhanghao) {
		    this.shangjiazhanghao = shangjiazhanghao;
	    }
	    public String getShangjiazhanghao() {
		    return shangjiazhanghao;
	    }
        
	    private String dianpumingcheng;
	    public void setDianpumingcheng(String dianpumingcheng) {
		    this.dianpumingcheng = dianpumingcheng;
	    }
	    public String getDianpumingcheng() {
		    return dianpumingcheng;
	    }
        
	    private String dianpudizhi;
	    public void setDianpudizhi(String dianpudizhi) {
		    this.dianpudizhi = dianpudizhi;
	    }
	    public String getDianpudizhi() {
		    return dianpudizhi;
	    }
        
	    private String lianxifangshi;
	    public void setLianxifangshi(String lianxifangshi) {
		    this.lianxifangshi = lianxifangshi;
	    }
	    public String getLianxifangshi() {
		    return lianxifangshi;
	    }
        
	    private Float price;
	    public void setPrice(Float price) {
		    this.price = price;
	    }
	    public Float getPrice() {
		    return price;
	    }
        
			
}

